let list_fn = async (ctx, next) => {
    ctx.body = "这里是用户列表页"
}

let detail_fn = async (ctx, next) => {
    ctx.body = "这里是用户详情页"
}

let add_fn = async (ctx, next) => {
    ctx.body = "这里是对用户的新增页面"
}

let delete_fn = async (ctx, next) => {
    ctx.body = "这里是对用户的删除页面"
}

let edit_fn = async (ctx, next) => {
    ctx.body = "这里是对用户进行编辑的页面"
}

module.exports = {
    '/user/list': ['get', list_fn],
    '/user/detial': ['get', detail_fn],
    '/user/add': ['post', add_fn],
    '/user/delete': ['delete', detail_fn],
    '/user/edit': ['put', edit_fn],
}